import { IPSDEFVRRegExCondition } from './ipsdefvrreg-ex-condition';
import { PSDEFVRSingleConditionImpl } from './psdefvrsingle-condition-impl';

export class PSDEFVRRegExConditionImpl extends PSDEFVRSingleConditionImpl implements IPSDEFVRRegExCondition {
  get regExCode(): string {
    return this.M.regExCode;
  }

  get cls(): string {
    return 'PSDEFVRRegExConditionImpl';
  }

  instanceof(cls: string): boolean {
    if (cls == 'dataentity.defield.valuerule.IPSDEFVRRegExCondition') return true;
    return super.instanceof(cls);
  }
}
